package jiaerc.moreingredients.item;

import jiaerc.moreingredients.MoreIngredientsEffects;
import jiaerc.moreingredients.MoreIngredientsGroup;
import jiaerc.moreingredients.effect.EffectSpicy;
import net.minecraft.item.Food;
import net.minecraft.item.Item;
import net.minecraft.potion.EffectInstance;

public class GreenPepper extends Item {
    public GreenPepper() {
            super(new Properties().tab(MoreIngredientsGroup.MORE_INGREDIENTS_GROUP)
                    .food(new Food.Builder()
                            .nutrition(3)
                            .saturationMod(0.6f)
                            .effect(() -> new EffectInstance(MoreIngredientsEffects.SPICY_EFFECT.get()
                                    , 6000,0),1.0f)
                            .build()));
            }
}
